{# src/Abzu/SecurityBundle/Resources/views/Security/login.html.twig #}
{% extends 'AbzuInitBundle::base.html.twig' %}

{% block title %}Login form{% endblock %}

{% block body %}

  {% if error %}
    <div>{{ error.message }}</div>
  {% endif %}
<form action="{{ path('AbzuSecurityBundle_login_check') }}" method="post">
  <label for="username">Username: </label>
  <input type="text" id="username" name="_username" value="{{ last_username }}" />

  <label for="password">Password: </label>
  <input type="password" id="password" name="_password" />

  <input type="submit" name="login" />
</form>

{% endblock %}